package com.chagee.store.operation.server.model.lock;

import com.chagee.store.operation.server.redis.model.RedissionLock;


public class TaskAppealsLock extends RedissionLock {

	private static final String LOCK_KEY_PREVENT_REPEAT_LOCK = "TASK_APPEALS_LOCK";

	private final String string;

	public TaskAppealsLock(String string) {
		super();
		this.string = string;
	}

	@Override
	public String buildLockKey() {
		return LOCK_KEY_PREVENT_REPEAT_LOCK + "_" + this.string;
	}
}
